package com.evildog.workspace.system.application.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.evildog.workspace.dependencies.mybatis.object.QueryConditionDTO;
import com.evildog.workspace.system.application.dto.ComponentPermissionListDTO;
import com.evildog.workspace.system.application.entity.ComponentPermission;
import com.evildog.workspace.system.application.entity.ComponentPermissionListDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * componentPermission Mapper 接口
 * </p>
 *
 * @author evildog
 * @since 2020-07-25
 */
public interface ComponentPermissionMapper extends BaseMapper<ComponentPermission> {

    /**
     * 自定义分页
     */
    List<ComponentPermissionListDO> getList(@Param("queryCondition") List<QueryConditionDTO> queryConditions, @Param("param") ComponentPermissionListDTO pageDTO);

}
